package com.onejson.ojmall.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 角色用户功能表对象
 *
 * @author wxx
 */
@Data
@TableName("s_role_user")
public class SRoleUserEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    /**
     * $column.comment
     */
    private String id;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 员工id
     */
    private Long userId;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


}

